<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="jsp_header.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<%@ include file="cart_header.jsp" %>
<div align="center" class="body" style="font-size:10pt">
	<h2>카트 확인하기</h2>
		<table >
			<tr>
				<td colspan="2"><font color="green">카트에는 다음 상품이 들어있습니다.</font></td>
			</tr>
			 <c:forEach items="${cart.itemList}" var="itemSet">
		 		<tr>
					<td>${itemSet.item.name}</td>
					<td>${itemSet.quantity}</td>
				</tr> 
			</c:forEach> 
		</table>	
	<br>
	${message}
	<br>
	<br>

	
	
	<a href="index">목록으로 돌아가기</a>
	<a href="checkout">계산하러 가기</a>
</div>
</body>
</html>